#pragma once
/*
@description: basic entity for all object
@author: TriLVH
*/
#include "AbstractData.h"
class AbstractEntity {
public:
	virtual void update(long time) = 0;
	virtual void draw(long time) = 0;
	virtual AbstractData* getAbstractData() = 0;
	virtual void initData() {}		
	virtual void updateData(int , int) {}
	virtual AbstractEntity* getSubEntity(int index) {return NULL;}
};